#ifndef RegionView_H
#define RegionView_H

#include "imageview.h"

class Region;
class RegionScene;
class RegionViewPrivate;

class RegionView : public ImageView
{
	Q_OBJECT	
public:
	RegionView(QWidget *parent);
	~RegionView();
public:
	Region* prototyperegionItem() const;
	void setPrototypeRegion(Region*);
	RegionScene* regionScene() const;
	void setregionItemscene(RegionScene*);
protected:
	virtual void mouseMoveEvent(QMouseEvent *);
	virtual void mousePressEvent(QMouseEvent *);
	virtual void mouseReleaseEvent(QMouseEvent *);
	virtual void paintEvent(QPaintEvent*);
private:
	Q_DECLARE_PRIVATE(RegionView);
	Q_DISABLE_COPY(RegionView);
	
};

#endif // RegionView_H
